package com.ruoyi.walmart.domain.shipments;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShipmentItemPayload {
    private ShipmentPayload.Headers headers;
    private List<Payload> payload;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public class Headers {
        private int limit;
        private int offset;
        private int totalCount;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public class Payload {
        private String inboundOrderId;
        private String shipmentId;
        private String gtin;
        private String sku;
        private String itemDesc;
        private Long itemQty;
        private Long vendorPackQty;
        private Long innerPackQty;
        private Long receivedQty;
        private Long damagedQty;
        private Long fillRate;
        private Date expectedDeliveryDate;
        private Date updatedExpectedDeliveryDate;
        private String shipNodeName;
        private Long receivedUnitsAtFc;
        private String imageUrl;
    }
}
